package com.hanxy.admin.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 用户分页查询请求参数
 *
 * @author dingyoukun
 * @date 2021-08-28 10:02
 **/
@Data
@ApiModel(value = "OpsSysUserPageReq", description = "用户分页查询请求参数")
public class SysUserPageReq extends BasePageModel {

    /**
     * account 账户
     */
    @ApiModelProperty(value = "账户名称")
    private String account;

    /**
     * 角色
     */
    @ApiModelProperty(value = "角色")
    private List<Integer> roleIds;

    /**
     * departmentId 部门id
     */
    @ApiModelProperty(value = "部门id")
    private List<Integer> departmentIds;

    /**
     * states 状态 1-在职 2-离职 3-禁用
     */
    @ApiModelProperty(value = "状态 1-在职 2-离职 3-禁用")
    private Integer states;

}